package com.rboat.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rboat.common.annotation.Excel;
import com.rboat.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 评论对象 blog_review
 * 
 * @author rboat
 * @date 2019-11-05
 */
public class BlogReview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 评论的文章id */
    @Excel(name = "评论的文章id")
    private String reviewArticleid;

    /** 博主id */
    @Excel(name = "博主id")
    private String reviewMasterId;

    /** 评论的作者id */
    @Excel(name = "评论的作者id")
    private String reviewAuthorId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String reviewContent;

    /** 评论时间 */
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setReviewArticleid(String reviewArticleid) 
    {
        this.reviewArticleid = reviewArticleid;
    }

    public String getReviewArticleid() 
    {
        return reviewArticleid;
    }
    public void setReviewMasterId(String reviewMasterId) 
    {
        this.reviewMasterId = reviewMasterId;
    }

    public String getReviewMasterId() 
    {
        return reviewMasterId;
    }
    public void setReviewAuthorId(String reviewAuthorId) 
    {
        this.reviewAuthorId = reviewAuthorId;
    }

    public String getReviewAuthorId() 
    {
        return reviewAuthorId;
    }
    public void setReviewContent(String reviewContent) 
    {
        this.reviewContent = reviewContent;
    }

    public String getReviewContent() 
    {
        return reviewContent;
    }
    public void setReviewTime(Date reviewTime) 
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime() 
    {
        return reviewTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reviewArticleid", getReviewArticleid())
            .append("reviewMasterId", getReviewMasterId())
            .append("reviewAuthorId", getReviewAuthorId())
            .append("reviewContent", getReviewContent())
            .append("reviewTime", getReviewTime())
            .toString();
    }
}
